package net.xyuu.data;

import java.util.regex.Pattern;

public class Validation {
	boolean required;
	Pattern pattern;
	int min;
	int max;
	int step;
	String type;

	static final String BUTTON = "button";
	static final String CHECKBOX = "checkbox";
	static final String COLOR = "color";
	static final String DATE = "date";
	static final String DATETIME = "datetime";
	static final String DATETIME_LOCAL = "datetime-local";
	static final String EMAIL = "email";
	static final String FILE = "file";
	static final String HIDDEN = "hidden";
	static final String IMAGE = "image";
	static final String MONTH = "month";
	static final String NUMBER = "number";
	static final String PASSWORD = "password";
	static final String RANGE = "range";
	static final String RESET = "reset";
	static final String SEARCH = "search";
	static final String SUBMIT = "submit";
	static final String TEL = "tel";
	static final String TEXT = "text";
	static final String TIME = "time";
	static final String URL = "url";
	static final String WEEK = "week";
}
